﻿CREATE TABLE [dbo].[Localitati] (
    [IDLocalitate]    INT          IDENTITY (1, 1) NOT NULL,
    [Nume]            VARCHAR (50) NULL,
    [CodPostal]       VARCHAR (6)  NULL,
    [IDJudet]         INT          NULL,
    [PrefixTelefonic] VARCHAR (5)  NULL,
    CONSTRAINT [PK_LOCALITATIC_2__13] PRIMARY KEY CLUSTERED ([IDLocalitate] ASC) WITH (FILLFACTOR = 90),
    CONSTRAINT [FK_LOCALITATI_JUDETE] FOREIGN KEY ([IDJudet]) REFERENCES [dbo].[Judete] ([IDJudet])
);

